Exercise 1

Set up your API Access in the google developer console and make sure that it’s working. If you already did this at home, you can skip this step. If not, you should do it now because we will need API access for the next sections.
Follow the tutorial that we sent to you by email before the course. If you get stuck in the tutorial, feel free to ask us for help.

Exercise 2

Go to the YouTube API console and check the amount of requests you already made for the app you are using
You can do this by going to the Developer Console and logging in with the Google account you made for the workshop. On the top right, next to the “GoogleAPIs” logo, you can make sure that you have selected the right project. If you click on the “Dashboard” panel, you can see the traffic your app has generated. If you click on the name of the App, you get a more detailed panel with Quotas and Metrics.

Exercise 3

Go to the YouTube quota calulator and calculate the resources needed for the following scenarios:

  • search videos with the list method and request a snippet

  • get statistics for videos with the list method and request snippet, contentDetails, status, statistics and suggestions

  • get statistics for playlistItems with the list method and request a snippet and status
You can find the qota calculator here and select the right resource, method and parts using the radio button menu. The quota cost of one such call is displayed on the right side.